﻿<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0" />
		<title>申请看房</title>
	    <script src="https://cdn.bootcss.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
        <link rel="stylesheet" href="../mycss/main.css"/>
        <link rel="stylesheet" href="../bootstrap-3.3.7-dist/css/bootstrap.css" media="screen"/>
        <div th:include="header :: header"/>
	</head>
	<body>
				
<div class="container">
	<div class="row clearfix">
		<div class="col-md-12 column">

			<form role="form" action="http://58.87.74.194:8029/checkroom" method="post">
				
				<div class="form-group">
					 <label for="exampleInputEmail1">用户ID</label><input class="form-control" name="userId" type="text" th:value="${userId}" readonly="true" />
				</div>
				<div class="form-group">
					 <label for="exampleInputPassword1">房间ID</label><input class="form-control" name="roomId" type="text" th:value="${roomId}" readonly="true" />
				</div>
				<div class="form-group">
				<label>type</label><br/>
				<select name="type">
					<option value="fee">付费</option>
					<option value="free">免费</option>
				</select>
				</div>
				<div class="form-group">
					 <label for="exampleInputPassword1">日期</label><input class="form-control" name="date" type="datetime-local"/>
				</div>
				<div class="form-group">
					 <label for="exampleInputPassword1">看房时间（单位分钟）</label><input class="form-control" name="duration" type="text" value=60 />
				</div>
				 <input type="submit" value="确认看房信息"/>
			</form>
		</div>
	</div>
</div>
		
	</body>
</html>
